/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ru.jSky.producer.builder;

import java.util.Collection;
import ru.jSky.producer.DwindleProducer;
import ru.jSky.producer.Producer;

/**
 *
 * @author Rakev
 */
public class CollectionProducerBuilder<F, C extends Collection<E>, E> extends CompositeProducerBuilder<F, C> {

    public static <C extends Collection<E>, E> CollectionProducerBuilder<C, C, E> create(){
        return new CollectionProducerBuilder<>(new DwindleProducer<C>());
    }

    public CollectionProducerBuilder(Producer<F, C> producer) {
        super(producer);
    }
}
